package com.example.newstest.pic.bean;

import android.util.Log;

import com.google.gson.annotations.Expose;

import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;

/**
 * Created by Administrator on 2017/1/16.
 */
public class PicItemEntity {
    private int id;

    private String title;

    private String postdate;

    private String editor;

    private String reviewcount;

    private String icon;

    private String ispass;

    private String isdel;

    private String smallimgsrc;

    private String bigimgsrc;

    private String imgcount;
    @Expose(serialize = false,deserialize = false)
    private List<String> smallUrlList=new ArrayList<>();

    public List<String> getSmallUrlList() {
        return smallUrlList;
    }

    public void setSmallUrlList(List<String> smallUrlList) {
        this.smallUrlList = smallUrlList;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPostdate() {
        return postdate;
    }

    public void setPostdate(String postdate) {
        this.postdate = postdate;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public String getReviewcount() {
        return reviewcount;
    }

    public void setReviewcount(String reviewcount) {
        this.reviewcount = reviewcount;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getIspass() {
        return ispass;
    }

    public void setIspass(String ispass) {
        this.ispass = ispass;
    }

    public String getIsdel() {
        return isdel;
    }

    public void setIsdel(String isdel) {
        this.isdel = isdel;
    }

    public String getSmallimgsrc() {
        return smallimgsrc;
    }

    public void setSmallimgsrc(String smallimgsrc) {
        this.smallimgsrc = smallimgsrc;
    }

    public String getBigimgsrc() {
        String[] urls = bigimgsrc.split("url=");
       String bigImageUrl=urls[1];
        return bigImageUrl;
    }

    public void setBigimgsrc(String bigimgsrc) {
        this.bigimgsrc = bigimgsrc;
    }

    public String getImgcount() {
        return imgcount;
    }

    public void setImgcount(String imgcount) {
        this.imgcount = imgcount;
    }
}
